package com.codedancer.campus.client.api.confessionalWall.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Data
@ApiModel("表白墙添加Ro")
public class ConfessionWallAddRo {

    @ApiModelProperty("内容")
    @NotEmpty(message = "请输入内容")
    private String content;

    @ApiModelProperty("图片")
    private List<String> images;

    @ApiModelProperty("是否开评论")
    @NotNull(message = "请选择是否开启评论")
    private Boolean isOpenComment;

    @ApiModelProperty("是否同步到自由广场")
    @NotNull(message = "请选择是否同步到自由广场")
    private Boolean isSyncLibertySquare;
}
